home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(timeChecked != 1)
- {
- var theTimerObj = new Date();
- timer = theTimerObj - startTime;
- timer = String(timer);
- if(timerSet != 1)
- {
- timerSet = 1;
- startTime = theTimerObj.getTime();
- }
- if(2500 < timer and timer < 5000 and timerSet == 1 and SpeedSet != 1)
- {
- _root.speed = count;
- SpeedSet = 1;
- timeChecked = 1;
- _root.playButtonMC.gotoAndStop(2);
- _root.instrButtonMC.gotoAndStop(2);
- _root.soundOn != 1 ? 0 : _root.SFXbeep.gotoAndPlay(2);
- }
- count++;
- }
- }
-